.yy-button {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dcdfe6;
  color: #606266;
  -webkit-appearance: none;
  appearance: none;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  margin: 0;
  transition: 0.1s;
  font-weight: 500;
  -moz-user-select: none;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 4px;
}
.yy-button--primary {
  color: #fff;
  background-color: #409eff;
  border-color: #409eff;
}
.yy-button--success {
  color: #fff;
  background-color: #67c23a;
  border-color: #67c23a;
}
.yy-button--info {
  color: #fff;
  background-color: #909399;
  border-color: #909399;
}
.yy-button--warning {
  color: #fff;
  background-color: #e6a23c;
  border-color: #e6a23c;
}
.yy-button--danger {
  color: #fff;
  background-color: #f56c6c;
  border-color: #f56c6c;
}
.yy-button--text {
  border-color: transparent;
  color: #409eff;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}
.yy-button--primary.is-plain {
  color: #409eff;
  background: #ecf5ff;
  border-color: #b3d8ff;
}
.yy-button--success.is-plain {
  color: #67c23a;
  background: #f0f9eb;
  border-color: #c2e7b0;
}
.yy-button--info.is-plain {
  color: #909399;
  background: #f4f4f5;
  border-color: #d3d4d6;
}
.yy-button--warning.is-plain {
  color: #e6a23c;
  background: #fdf6ec;
  border-color: #f5dab1;
}
.yy-button--danger.is-plain {
  color: #f56c6c;
  background: #fef0f0;
  border-color: #fbc4c4;
}
.yy-button.is-round {
  border-radius: 20px;
  padding: 12px 23px;
}
.yy-button.is-circle {
  border-radius: 50%;
  padding: 12px;
}
.yy-button.is-disabled, .yy-button.is-disabled:focus, .yy-button.is-disabled:hover {
  color: #c0c4cc;
  cursor: not-allowed;
  background-image: none;
  background-color: #fff;
  border-color: #ebeef5;
}
.yy-button--primary.is-disabled, .yy-button--primary.is-disabled:active, .yy-button--primary.is-disabled:focus, .yy-button--primary.is-disabled:hover {
  color: #fff;
  background-color: #a0cfff;
  border-color: #a0cfff;
}
.yy-button--success.is-disabled, .yy-button--success.is-disabled:active, .yy-button--success.is-disabled:focus, .yy-button--success.is-disabled:hover {
  color: #fff;
  background-color: #b3e19d;
  border-color: #b3e19d;
}
.yy-button--info.is-disabled, .yy-button--info.is-disabled:active, .yy-button--info.is-disabled:focus, .yy-button--info.is-disabled:hover {
  color: #fff;
  background-color: #c8c9cc;
  border-color: #c8c9cc;
}
.yy-button--warning.is-disabled, .yy-button--warning.is-disabled:active, .yy-button--warning.is-disabled:focus, .yy-button--warning.is-disabled:hover {
  color: #fff;
  background-color: #f3d19e;
  border-color: #f3d19e;
}
.yy-button--danger.is-disabled, .yy-button--danger.is-disabled:active, .yy-button--danger.is-disabled:focus, .yy-button--danger.is-disabled:hover {
  color: #fff;
  background-color: #fab6b6;
  border-color: #fab6b6;
}
.yy-button.is-disabled.is-plain, .yy-button.is-disabled.is-plain:focus, .yy-button.is-disabled.is-plain:hover {
  background-color: #fff;
  border-color: #ebeef5;
  color: #c0c4cc;
}
.yy-button--primary.is-plain.is-disabled, .yy-button--primary.is-plain.is-disabled:active, .yy-button--primary.is-plain.is-disabled:focus, .yy-button--primary.is-plain.is-disabled:hover {
  color: #8cc5ff;
  background-color: #ecf5ff;
  border-color: #d9ecff;
}
.yy-button--success.is-plain.is-disabled, .yy-button--success.is-plain.is-disabled:active, .yy-button--success.is-plain.is-disabled:focus, .yy-button--success.is-plain.is-disabled:hover {
  color: #a4da89;
  background-color: #f0f9eb;
  border-color: #e1f3d8;
}
.yy-button--info.is-plain.is-disabled, .yy-button--info.is-plain.is-disabled:active, .yy-button--info.is-plain.is-disabled:focus, .yy-button--info.is-plain.is-disabled:hover {
  color: #bcbec2;
  background-color: #f4f4f5;
  border-color: #e9e9eb;
}
.yy-button--warning.is-plain.is-disabled, .yy-button--warning.is-plain.is-disabled:active, .yy-button--warning.is-plain.is-disabled:focus, .yy-button--warning.is-plain.is-disabled:hover {
  color: #f0c78a;
  background-color: #fdf6ec;
  border-color: #faecd8;
}
.yy-button--danger.is-plain.is-disabled, .yy-button--danger.is-plain.is-disabled:active, .yy-button--danger.is-plain.is-disabled:focus, .yy-button--danger.is-plain.is-disabled:hover {
  color: #f9a7a7;
  background-color: #fef0f0;
  border-color: #fde2e2;
}
.yy-button.is-disabled.yy-button--text {
  background-color: transparent;
}
.yy-button--text.is-disabled, .yy-button--text.is-disabled:focus, .yy-button--text.is-disabled:hover, .yy-button--text:active {
  border-color: transparent;
}
.yy-button.is-loading {
  position: relative;
  pointer-events: none;
}
.icon-loading {
  animation: rotating 2s linear infinite;
  display:inline-block;
}
@keyframes rotating {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(1turn);
  }
}
.yy-button--medium {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 4px;
}
.yy-button--small {
  padding: 9px 15px;
  font-size: 12px;
  border-radius: 3px;
}
.yy-button--mini {
  padding: 7px 15px;
  font-size: 12px;
  border-radius: 3px;
}
.yy-button.is-round {
  border-radius: 20px;
  padding: 12px 23px;
}
.yy-button--medium.is-round {
  padding: 10px 20px;
}
.yy-button--small.is-round {
  padding: 9px 15px;
}
.yy-button--mini.is-round {
  padding: 7px 15px;
}